home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 41
/
Volume 41 - JOGO DISK .iso
/
Games
/
konka_66.swf
/
scripts
/
DefineSprite_170
/
frame_1
/
DoAction.as
Wrap
Text File
|
2007-05-10
|
263b
|
14 lines
this.onEnterFrame = function()
{
var _loc2_ = int(_parent.nhp / _parent.mhp * 100);
gotoAndStop(_loc2_ + 1);
if(_parent.nhp < 0)
{
_parent.nhp = 0;
}
if(_parent.nhp > _parent.mhp)
{
_parent.nhp = _parent.mhp;
}
};